﻿#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 版权所有 (c) 2022 北京超维景生物科技有限公司 保留所有权利。
 * CLR版本：4.0.30319.42000
 * 文件名：Kernel
 * 
 * 创建者：huangyang
 * 电子邮箱：huangyang@tvscope.cn
 * 创建时间：2023/2/15 13:08:26
 * 版本：V1.0.0
 * 描述：
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时间：
 * 修改说明：
 *
 * 版本：V1.0.1
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImageK
{
    /** Plugins that implement this interface are notified when ImageJ
        is about to run a menu command. There is an example plugin at
        http://imagej.nih.gov/ij/plugins/download/misc/Command_Listener.java
    */
    public interface CommandListener
    {
        /*	The method is called when ImageJ is about to run a menu command, 
            where 'command' is the name of the command. Return this string 
            and ImageJ will run the command, return a different command name
            and ImageJ will run that command, or return null to not run a command.
        */
        string commandExecuting(string command);
    }
}
